﻿using System.Collections.Generic;
using NHibernate;

namespace ilanver.Data.NHibernate.Abstraction
{
    public interface ISessionStorage
    {
        ISession GetSessionForKey(string factoryKey);
        void SetSessionForKey(string factoryKey, ISession session);
        IEnumerable<ISession> GetAllSessions();
    }
}
